package com.study.example.demo03;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
public class Demo03Main {

    public static void main(String[] args) {
        ApplicationContext applicationContext = new
                AnnotationConfigApplicationContext(SpringConfiguration.class);
        System.err.println(applicationContext.getBean(Demo03Service.class));
    }

}
